package com.echo.register.client.order;

import com.echo.register.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName: OrderFeignClient
 * @Package: com.echo.register.client.order
 * @Description:
 * @Author 谢同学
 * @Create 2024/1/11 20:39
 * @Version 1.0
 */
@FeignClient("service-order")
@Repository
public interface OrderFeignClient {
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
